class Animal:
    def __init__(self,name='animal',age=5):
        self.name=name
        self.age=age
        self.partner=None
        pass
    def makeFriend(self,animal):
        self.partner=animal
        animal.partner=self
    
    def info(self):
        if self.partner:
            print('my name is ',self.name,'I am ',self.age,' years old ','my partner\'s name is',self.partner.name)
        else:
            print('my name is ',self.name,'I am ',self.age,' years old and I have no partner')
